package com.lhsy.djcloud.service;

import com.lhsy.djcloud.controller.vo.SearchVo;
import com.lhsy.djcloud.entity.FileMessage;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author wangzw
 * @since 2020-09-14
 */
public interface FileMessageService extends IService<FileMessage> {

    /**
     * 获取接收方的
     * @param userId
     * @return
     */
    List<FileMessage> selectByTargetId(Integer userId,SearchVo searchVo);

    List<FileMessage> selectBySendId(Integer userId, SearchVo searchVo);
}
